
package fr.afcepf.hotels.soa.facade;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;


/**
 * <p>Java class for reservationVoiture complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="reservationVoiture">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="conducteurs" type="{http://facade.soa.hotels.afcepf.fr/}conducteur" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="dateDebutReservation" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
 *         &lt;element name="dateFinReservation" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
 *         &lt;element name="idReservationVoiture" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="reservationOptions" type="{http://facade.soa.hotels.afcepf.fr/}reservationOption" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="voitures" type="{http://facade.soa.hotels.afcepf.fr/}voiture" maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "reservationVoiture", propOrder = {
    "conducteurs",
    "dateDebutReservation",
    "dateFinReservation",
    "idReservationVoiture",
    "reservationOptions",
    "voitures"
})
public class ReservationVoiture {

    @XmlElement(nillable = true)
    protected List<Conducteur> conducteurs;
    @XmlSchemaType(name = "dateTime")
    protected XMLGregorianCalendar dateDebutReservation;
    @XmlSchemaType(name = "dateTime")
    protected XMLGregorianCalendar dateFinReservation;
    protected int idReservationVoiture;
    @XmlElement(nillable = true)
    protected List<ReservationOption> reservationOptions;
    @XmlElement(nillable = true)
    protected List<Voiture> voitures;

    /**
     * Gets the value of the conducteurs property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the conducteurs property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getConducteurs().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link Conducteur }
     * 
     * 
     */
    public List<Conducteur> getConducteurs() {
        if (conducteurs == null) {
            conducteurs = new ArrayList<Conducteur>();
        }
        return this.conducteurs;
    }

    /**
     * Gets the value of the dateDebutReservation property.
     * 
     * @return
     *     possible object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public XMLGregorianCalendar getDateDebutReservation() {
        return dateDebutReservation;
    }

    /**
     * Sets the value of the dateDebutReservation property.
     * 
     * @param value
     *     allowed object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public void setDateDebutReservation(XMLGregorianCalendar value) {
        this.dateDebutReservation = value;
    }

    /**
     * Gets the value of the dateFinReservation property.
     * 
     * @return
     *     possible object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public XMLGregorianCalendar getDateFinReservation() {
        return dateFinReservation;
    }

    /**
     * Sets the value of the dateFinReservation property.
     * 
     * @param value
     *     allowed object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public void setDateFinReservation(XMLGregorianCalendar value) {
        this.dateFinReservation = value;
    }

    /**
     * Gets the value of the idReservationVoiture property.
     * 
     */
    public int getIdReservationVoiture() {
        return idReservationVoiture;
    }

    /**
     * Sets the value of the idReservationVoiture property.
     * 
     */
    public void setIdReservationVoiture(int value) {
        this.idReservationVoiture = value;
    }

    /**
     * Gets the value of the reservationOptions property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the reservationOptions property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getReservationOptions().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link ReservationOption }
     * 
     * 
     */
    public List<ReservationOption> getReservationOptions() {
        if (reservationOptions == null) {
            reservationOptions = new ArrayList<ReservationOption>();
        }
        return this.reservationOptions;
    }

    /**
     * Gets the value of the voitures property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the voitures property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getVoitures().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link Voiture }
     * 
     * 
     */
    public List<Voiture> getVoitures() {
        if (voitures == null) {
            voitures = new ArrayList<Voiture>();
        }
        return this.voitures;
    }

}
